package com.usf.jprovider.schema.provider;

import com.usf.jprovider.object.JObjectNode;
import com.usf.jprovider.object.env.Environment;
import com.usf.jprovider.object.type.JString;
import com.usf.jprovider.object.type.JType;

public final class EmptyProvider extends AbstractProvider {

	public EmptyProvider(){
		super();
	}

	@Override
	public JString create(Environment env, JObjectNode parent) throws Exception {
		return new JString("");
	}
	@Override
	public boolean checkValue(Environment env, JObjectNode node, JType<?> value) throws Exception {
		return true;
	}
	
	@Override
	public boolean isDependent(JObjectNode node) {
		return false;
	}
}
